package com.commpany.servie.basic.clickhistory.business.write.clickHistory.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.commpany.jdq.core.orm.Pagination;
import com.commpany.servie.basic.clickhistory.business.write.clickHistory.ClickHistoryWriteManage;
import com.commpany.servie.basic.clickhistory.dao.write.ClickHistoryWriteDAO;
import com.commpany.servie.basic.clickhistory.po.ClickHistoryPO;
@Service
public class ClickHistoryWriteManageImpl implements ClickHistoryWriteManage {
	Logger logger = LoggerFactory.getLogger(this.getClass());
	@Autowired
	private ClickHistoryWriteDAO clickHistoryWriteDAO;
	@Override
	public int insertClickHistoryService( ClickHistoryPO po ){
	
	  return clickHistoryWriteDAO.insert(po);
	}
	@Override
    public int updateClickHistoryService( ClickHistoryPO po ){
        return clickHistoryWriteDAO.update(po);
    }
    
    @Override
    public int deleteClickHistoryService( ClickHistoryPO po ){
        return clickHistoryWriteDAO.delete(po);
    }
}
	